$activeColor:#333333;
$alreadyReadColor:#999999;


@mixin text_overflow($line:2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /*设置对齐模式*/
    -webkit-line-clamp: $line;
    /*设置多行的行数，示例为2行*/
}

@mixin oneline_overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@mixin flex_box($isCenter:start,$marginBottom:0px,$direction:row){
    display: flex;
    flex-direction: direction;
    margin-bottom: $marginBottom;
    align-items: center;
    justify-content: $isCenter;
}